<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/1/30 0030
  Time: 11:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>

<script src="${path}/static/taoshunda/auditing/auditingBusiness.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="input-group col-xs-2" style="float: left;margin-left: 3px;margin-bottom: 3px">
    <input type="text" id="busName" class="form-control entry" placeholder="输入商家名称"/>
</div>
<div style="float: left;margin-left: 10px;margin-bottom: 3px">
    <button type="button" class="btn query_button" onclick="queryRecomBus()" style="float: left;width: 150%">
        查询
    </button>
</div>

<table id="table"
       class="table table-striped table-bordered"
       data-toggle="table"
       data-url="${path}/web/business/queryRecommendBusiness"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="id" data-visible="false">编号</th>
        <%--<th data-formatter="storePic">图片</th>--%>
        <th data-field="busName">商家名称</th>
        <th data-field="payTime">缴费时限(月)</th>
        <th data-field="payMoney">缴费金额</th>
        <th data-formatter="operateFormatter" data-events="operateEvents">操作</th>
    </tr>
    </thead>
</table>


<div id="addBusinessPicture-div" class="slidingmenu box-model box box-info" style="z-index:0;" model-width="45%">
    <div class="box-header">
        <h3 class="box-title">上传图片</h3>
    </div>
    <div class="box box-info">
        <div class="box-body">
            <form role="form" method="post" id="updateBusinessReplaceFrom">
                <input id="id" name="id" type="hidden">

                <div class="form-group">
                    <input type="hidden" name="picPath" id="pic">
                    <label>推荐商家图片:</label><br>
                    <img  height="150" id="image" src="${path}/static/images/commons/img_add.png"
                         class="addImage"><br><span style="color: red">推荐上传图片为1250 x 800以上分辨率的图片</span>
                </div>
            </form>
            <div class="box-footer">
                <button class="btn btn-info" data-event="submit-replaceBusinessPicture">确定</button>
                &nbsp;
                <button class="btn btn-danger close-model">关闭</button>
            </div>
        </div>
    </div>
</div>